package com.hong610.quartz.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 用来标注是否是调度任务的注解
 * Created by Hong on 2017/2/8.
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface QuartzJob {

    /**是否跳过该任务**/
    boolean skip() default false;

    /**任务描述**/
    String text() default "";
}
